<% form_for :link, 
    :url => {:action => :index} do |t| %>
    <%= t.text_field(:actual_url, :class => "text_field") %>    
    <%= submit_tag "Shrink It!", :class => "positive" %>
<% end %>

<% if @link %>
    <div align=center>
      <%= image_tag 'arrow.gif' %>
      <h2 class="original">
        Original Link: <%= link_to @link.actual_url, @link.actual_url, :class => "original" %>
      </h2>
      <h2>
        Shrinked Link: <%= link_to @link.shrinked_url, @link.shrinked_url %>
      </h2>
    </div>
<% end %>